package com.hsogoo.study.concurrency.disruptor;

import java.util.concurrent.Callable;

/**
 * Created by za-huangsaigang on 2018/10/26.
 */
public class Task implements Callable {

    private Integer sequence;

    public Task(Integer sequence) {
        this.sequence = sequence;
    }

    @Override
    public Object call() throws Exception {
        return sequence;
    }

}
